import request from "@/utils/request";

// 获取行政区域数据
export function getRegionData(data) {
  return request({
    url: "/admin/region/list",
    method: "get",
    data,
  });
}
// 获取品牌制造商数据
export function getBrandData(data) {
  return request({
    url: "/admin/brand/list",
    method: "get",
    data,
  });
}
// 获取商品类目数据
export function getClassData(data) {
  return request({
    url: "/admin/category/list",
    method: "get",
    data,
  });
}
// 获取订单管理数据
export function getOrdersData(data) {
  return request({
    url: "/admin/order/list",
    method: "get",
    data,
  });
}
// 获取通用问题数据
export function getGeneralData(data) {
  return request({
    url: "/admin/issue/list",
    method: "get",
    data,
  });
}
// 获取关键词数据
export function getKeywordData(data) {
  return request({
    url: "/admin/keyword/list",
    method: "get",
    data,
  });
}
